package example.base;

/**
 * @author Seon
 * @version 1.0
 * @since 2024-09-03
 */
public class ConcreteComponentB extends DecoratorComponent {

    @Override
    public void operate() {
        super.operate();
        addBehavior();
    }

    public void addBehavior() {
        System.out.println("ConcreteComponentB独有方法");
    }
}
